﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Artemis;

namespace JAWWS
{
    public class Camera
    {
        private float[] camPos = new float[3] {-2, 3, 0};
        private float[] atPos = new float[3] { 0, 10, 0 };
        private float[] upPos = new float[3] { 0, 1, 0 };
        private float[] camTheta = new float[2] { 0, (float)Math.PI / 2 };
 
        //Get Methods
        public float[] getCam()
        {
            return camPos;
        }
        public float getCam(int index)
        {
            return camPos[index];
        }
        public float[] getAt()
        {
            return atPos;
        }
        public float getAt(int index)
        {
            return atPos[index];
        }
        public float[] getUp()
        {
            return upPos;
        }
        public float getUp(int index)
        {
            return upPos[index];
        }
        public float getTheta(int index)
        {
            return camTheta[index];
        }
        //Set Methods
        public void setCam(float pos, int index)
        {
            camPos[index] = pos;
        }
        public void setAt(float pos, int index)
        {
            atPos[index] = pos;
        }
        public void setUp(float pos, int index)
        {
            upPos[index] = pos;
        }
        public void setTheta(float theta, int index)
        {
            camTheta[index] = theta;
        }
    }
}
